package com.hrma.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class TravelApplication {
    private Integer id;
    private Integer employeeId;
    @NotNull(message = "开始时间不能为空！")
    private Date beginTime;
    @NotNull(message = "结束时间不能为空！")
    private Date endTime;
    private String reason;
    private Integer state;
}
